3 . 3 Card Shuffling
نویسنده
چکیده
Given a deck of n cards, how many times must we shuffle it to make it “random”? Of course, the answer depends upon the method of shuffling which is used and what we mean by “random.” We shall begin the study of this question by considering a standard model for the riffle shuffle. We begin with a deck of n cards, which we will assume are labelled in increasing order with the integers from 1 to n. A riffle shuffle consists of a cut of the deck into two stacks and an interleaving of the two stacks. For example, if n = 6, the initial ordering is (1, 2, 3, 4, 5, 6), and a cut might occur between cards 2 and 3. This gives rise to two stacks, namely (1, 2) and (3, 4, 5, 6). These are interleaved to form a new ordering of the deck. For example, these two stacks might form the ordering (1, 3, 4, 2, 5, 6). In order to discuss such shuffles, we need to assign a probability distribution to the set of all possible shuffles. There are several reasonable ways in which this can be done. We will give several different assignment strategies, and show that they are equivalent. (This does not mean that this assignment is the only reasonable one.) First, we assign the binomial probability b(n, 1/2, k) to the event that the cut occurs after the kth card. Next, we assume that all possible interleavings, given a cut, are equally likely. Thus, to complete the assignment of probabilities, we need to determine the number of possible interleavings of two stacks of cards, with k and n− k cards, respectively. We begin by writing the second stack in a line, with spaces in between each pair of consecutive cards, and with spaces at the beginning and end (so there are n − k + 1 spaces). We choose, with replacement, k of these spaces, and place the cards from the first stack in the chosen spaces. This can be done in ( n k )
منابع مشابه
How, when and how much a card deck is well shuffled?
The thesis consider the mixing of few (3-4) card shuffling as well as of large (52 card) deck. The thesis is showing the limit on the shuffling to homogeneity elaborated in short program; the thesis is in italian.
متن کاملCard-Shuffling Analysis with Markov Chains
In this essay we shall discuss mathematical models of card-shuffling. The basic question to answer is ”how many times do you need to shuffle a deck of cards for it to become sufficiently randomized?”. This obviously depends on what we mean by shuffling and sufficiently randomized so we shall dwell quite a bit on these points too. In section 2 we will name and describe some popular shuffles. The...
متن کاملCard-cyclic-to-random shuffling with relabeling
The card-cyclic-to-random shuffle is the card shuffle where the n cards are labeled 1, . . . , n according to their starting positions. Then the cards are mixed by first picking card 1 from the deck and reinserting it at a uniformly random position, then repeating for card 2, then for card 3 and so on until all cards have been reinserted in this way. Then the procedure starts over again, by fir...
متن کاملOn Transience of Card Shuffling
We present simple proofs of transience/recurrence for certain card shuffling models, that is, random walks on the infinite symmetric group. 1. Card shuffling models In this note, we consider several models of shuffling an infinite deck of cards. One of these models has been considered previously by Lawler [La]; our methods (using flows, shorting and comparison of Dirichlet forms) will – partial...
متن کاملThe Minimum Number of Cards in Practical Card-based Protocols
The elegant “five-card trick” of den Boer (EUROCRYPT 1989) allows two players to securely compute a logical AND of two private bits, using five playing cards of symbols ♥ and ♣. Since then, card-based protocols have been successfully put to use in classroom environments, vividly illustrating secure multiparty computation – and evoked research on the minimum number of cards needed for several fu...
متن کاملExploring the Geometric Model of Riffle Shuffling
Card shuffling is an interesting topic to explore because of its complexity. Initially, card shuffling seems simple because it is ubitquitous. The majority of people know how to shuffle a deck of cards but few consider the math behind it. However, when it comes to analyzing the elements of card shuffling, it incorporates linear algebra, group theory, probability theory, and Markov Chains. When ...
متن کامل